/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package BUS;

import DAO.TruongToa_DAO;
import DTO.TruongToa_DTO;
import java.sql.SQLException;
import java.util.ArrayList;

/**
 *
 * @author Phung
 */
public class TruongToa_BUS {
    
     public static String Get_MaTT() throws SQLException{
        return TruongToa_DAO.Get_MaTT();
    }
    public static ArrayList<TruongToa_DTO> GetALL(){
        return TruongToa_DAO.GetALL();
    }
    public static boolean Insert(TruongToa_DTO TruongToa){
        return TruongToa_DAO.Insert(TruongToa);
    }
    public static boolean Update(TruongToa_DTO TruongToa){
        return TruongToa_DAO.Update(TruongToa);
    }   
    public static boolean Delete(String MaTR){
        return TruongToa_DAO.Delete(MaTR);
    }
}
